<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>The Grid: GroundGridLayer Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">The Grid
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">GroundGridLayer Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="GroundGridLayer" --><!-- doxytag: inherits="ILayer" -->
<p><code>#include &lt;<a class="el" href="_ground_grid_layer_8h_source.html">GroundGridLayer.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for GroundGridLayer:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_ground_grid_layer.png" usemap="#GroundGridLayer_map" alt=""/>
  <map id="GroundGridLayer_map" name="GroundGridLayer_map">
<area href="class_i_layer.html" alt="ILayer" shape="rect" coords="0,0,111,24"/>
</map>
 </div></div>

<p><a href="class_ground_grid_layer-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ground_grid_layer.html#a28685f983ba738b8a04b685d8ef34d61">changeFieldColor</a> (int x, int y, int state)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ground_grid_layer.html#a8069dc82fa9d7dfd6546645955e7a461">rescanState</a> (int **stateTable)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ground_grid_layer.html#aa216bd6d395265acd592719163f5133c">setFieldColor</a> (int x, int y, <a class="el" href="class_color.html">Color</a> col)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ground_grid_layer.html#ab807ea7e31f65c13a0e781250b859875">Init</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ground_grid_layer.html#aea5af76a999753ccdaef94545f5c93c2">Render</a> (M3DMatrix44f modelViewMatrix)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ground_grid_layer.html#aa94fa699eca38f8241483e30f0863ed5">Dispose</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ground_grid_layer.html#a31bb000866408b2dd15e41cae1bf6ab5">GroundGridLayer</a> (GLShaderManager *shaderMaganer, <a class="el" href="class_grid.html">Grid</a> *_grid)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ground_grid_layer.html#a0ba0c05dbcef3c2148eb3d9774021ba8">~GroundGridLayer</a> (void)</td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_grid.html">Grid</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ground_grid_layer.html#a4ec8b0f55a9b0b09ea93b0fecbe18d0f">grid</a></td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a31bb000866408b2dd15e41cae1bf6ab5"></a><!-- doxytag: member="GroundGridLayer::GroundGridLayer" ref="a31bb000866408b2dd15e41cae1bf6ab5" args="(GLShaderManager *shaderMaganer, Grid *_grid)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GroundGridLayer::GroundGridLayer </td>
          <td>(</td>
          <td class="paramtype">GLShaderManager *&#160;</td>
          <td class="paramname"><em>shaderMaganer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_grid.html">Grid</a> *&#160;</td>
          <td class="paramname"><em>_grid</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a0ba0c05dbcef3c2148eb3d9774021ba8"></a><!-- doxytag: member="GroundGridLayer::~GroundGridLayer" ref="a0ba0c05dbcef3c2148eb3d9774021ba8" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GroundGridLayer::~GroundGridLayer </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a28685f983ba738b8a04b685d8ef34d61"></a><!-- doxytag: member="GroundGridLayer::changeFieldColor" ref="a28685f983ba738b8a04b685d8ef34d61" args="(int x, int y, int state)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GroundGridLayer::changeFieldColor </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>state</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aa94fa699eca38f8241483e30f0863ed5"></a><!-- doxytag: member="GroundGridLayer::Dispose" ref="aa94fa699eca38f8241483e30f0863ed5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GroundGridLayer::Dispose </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implements <a class="el" href="class_i_layer.html#a9f043e65208c5b557bba9640213f4821">ILayer</a>.</p>

</div>
</div>
<a class="anchor" id="ab807ea7e31f65c13a0e781250b859875"></a><!-- doxytag: member="GroundGridLayer::Init" ref="ab807ea7e31f65c13a0e781250b859875" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GroundGridLayer::Init </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implements <a class="el" href="class_i_layer.html#a5bb2bb9ffda9cc962a0873e9108d74ef">ILayer</a>.</p>

</div>
</div>
<a class="anchor" id="aea5af76a999753ccdaef94545f5c93c2"></a><!-- doxytag: member="GroundGridLayer::Render" ref="aea5af76a999753ccdaef94545f5c93c2" args="(M3DMatrix44f modelViewMatrix)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GroundGridLayer::Render </td>
          <td>(</td>
          <td class="paramtype">M3DMatrix44f&#160;</td>
          <td class="paramname"><em>modelViewMatrix</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implements <a class="el" href="class_i_layer.html#af65f7b186a8c78acadc09d8f93ab48a4">ILayer</a>.</p>

</div>
</div>
<a class="anchor" id="a8069dc82fa9d7dfd6546645955e7a461"></a><!-- doxytag: member="GroundGridLayer::rescanState" ref="a8069dc82fa9d7dfd6546645955e7a461" args="(int **stateTable)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GroundGridLayer::rescanState </td>
          <td>(</td>
          <td class="paramtype">int **&#160;</td>
          <td class="paramname"><em>stateTable</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aa216bd6d395265acd592719163f5133c"></a><!-- doxytag: member="GroundGridLayer::setFieldColor" ref="aa216bd6d395265acd592719163f5133c" args="(int x, int y, Color col)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GroundGridLayer::setFieldColor </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_color.html">Color</a>&#160;</td>
          <td class="paramname"><em>col</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a4ec8b0f55a9b0b09ea93b0fecbe18d0f"></a><!-- doxytag: member="GroundGridLayer::grid" ref="a4ec8b0f55a9b0b09ea93b0fecbe18d0f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_grid.html">Grid</a>* <a class="el" href="class_ground_grid_layer.html#a4ec8b0f55a9b0b09ea93b0fecbe18d0f">GroundGridLayer::grid</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>C:/GK/The Grid/TheGrid _doDokumentacji/graphic_engine/<a class="el" href="_ground_grid_layer_8h_source.html">GroundGridLayer.h</a></li>
<li>C:/GK/The Grid/TheGrid _doDokumentacji/graphic_engine/<a class="el" href="_ground_grid_layer_8cpp.html">GroundGridLayer.cpp</a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Fri Sep 30 2011 23:11:30 for The Grid by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
